Skip to content

Adds versioned payment settings API (v20260427)#365

Merged
gerfboy merged 1 commit intomasterfrom
greg/settings20260427
Apr 30, 2026
Merged

Adds versioned payment settings API (v20260427)#365
gerfboy merged 1 commit intomasterfrom
greg/settings20260427

Conversation

@gerfboy
Copy link
Copy Markdown
Contributor

@gerfboy gerfboy commented Apr 30, 2026

Jira: MC-11798

Summary of Changes

Introduces a new version of the Payment Settings API, v20260427, changing the list of settings from the 'challenges' property to a 'settings' property.

Public API Additions/Changes

  • A new model class, com.mx.path.model.mdx.model.payment.v20260427.Settings, is added to represent the payment settings for this specific API version.
  • The PaymentBaseAccessor is extended with two new methods:
    • AccessorResponse settings20260427()
    • AccessorResponse updateSettings20260427(com.mx.path.model.mdx.model.payment.v20260427.Settings settings)
      These methods expose the new versioned API through the gateway, allowing consumers to retrieve and update payment settings for v20260427.
  • The PaymentsController's getPaymentSettings() and setPaymentSettings() endpoints now support API versioning, enabling requests to be routed to either the default or the v20260427 implementation based on the Accept or Content-Type header.

Introduces a new `v20260427` API for payment settings
@gerfboy gerfboy merged commit 09cbc3e into master Apr 30, 2026
7 checks passed
@gerfboy gerfboy deleted the greg/settings20260427 branch April 30, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants